using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace Fan.Dongping.Common.Bean
{
    public class WorkItem
    {
        string itemNo, name, assignTo, deptNo, timeStatus, finishStatus,englishName;
        ItemRectangle rectangle;
        Color color;
        Nullable<DateTime> planFinishDay, actualFinishDay;

        public List<string> FrontItemNos = new List<string>();

        public string FinishStatus
        {
            get { return finishStatus; }
            set { finishStatus = value; }
        }

        public string TimeStatus
        {
            get { return timeStatus; }
            set { timeStatus = value; }
        }


        public WorkItem()
        {
            rectangle = new ItemRectangle();
        }

        public string DeptNo
        {
            get { return deptNo; }
            set { deptNo = value; }
        }

        public ItemRectangle Rectangle
        {
            get { return rectangle; }
            set { rectangle = value; }
        }

        public Nullable<DateTime> ActualFinishDay
        {
            get { return actualFinishDay; }
            set { actualFinishDay = value; }
        }

        public string AssignTo
        {
            get { return assignTo; }
            set { assignTo = value; }
        }

        public string ItemNo
        {
            get { return itemNo; }
            set { itemNo = value; }
        }

        //public string FrontItemNo
        //{
        //    get { return frontItemNo; }
        //    set { frontItemNo = value; }
        //}

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        public string EnglishName
        {
            get { return englishName; }
            set { englishName = value; }
        }

        public Nullable<DateTime> PlanFinishDay
        {
            get { return planFinishDay; }
            set { planFinishDay = value; }
        }

        public Color Color
        {
            get { return color; }
            set { color = value; }
        }
    }
}
